﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Enterprise.Management.ViewModels
{
    public class EditAuditViewModel
    {
        public int? Id { get; set; }

        [Required(ErrorMessage = "必填项")]
        [Display(Name = "时间")]
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime AdtInf_Date { get; set; }

        [Required(ErrorMessage = "必选项")]
        [Display(Name = "检查部门")]
        public int AdtInf_DeptID { get; set; }

        [Required(ErrorMessage = "必填项")]
        [Display(Name = "检查人员")]
        public string AdtInf_PersonInCharge { get; set; }

        [Required(ErrorMessage = "必填项")]
        [Display(Name = "检查内容")]
        public string AdtInf_Content { get; set; }

        [Required(ErrorMessage = "必填项")]
        [Display(Name = "检查结果")]
        public string AdtInf_Result { get; set; }

        [Required(ErrorMessage = "必填项")]
        [Display(Name = "整改措施")]
        public string AdtInf_Response { get; set; }
    }
}